package com.demo.autotest.database.mapper;
import com.demo.autotest.database.domain.Operation;
import com.demo.autotest.dto.OperationDTO;
import com.demo.autotest.request.QueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper   // 定义Dao层
public interface OperationMapper {

     void saveOperation(Operation operation);

     void delete(String id);

     List<OperationDTO> getOperationList(QueryRequest request);

     Operation getOperationDetail(String id);

     Operation getOperationByName(String projectId, String name, String system);
}
